package com.kunlun.basedata.limit.model.vo;

import com.kunlun.common.model.TreeModel;

public class CorrelateVo extends TreeModel<CorrelateVo> {

    /**
     * 关联类型（0-角色；1-岗位；2-应用；3-单位；4-部门；5-父单位）
     */
    private String type;

    private String dataType;

    /**
     * 目标ID（角色与岗位ID）
     */
    private String targetId;

    private String targetName;

    private String targetKey;

    /**
     * 用户ID
     */
    private String subjectId;

    private String subjectName;

    private String virtualId;

    private String virtualParent;

    private String virtualCode;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public String getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(String subjectId) {
        this.subjectId = subjectId;
    }

    public String getVirtualId() {
        return virtualId;
    }

    public void setVirtualId(String virtualId) {
        this.virtualId = virtualId;
    }

    public String getVirtualParent() {
        return virtualParent;
    }

    public void setVirtualParent(String virtualParent) {
        this.virtualParent = virtualParent;
    }

    public String getVirtualCode() {
        return virtualCode;
    }

    public void setVirtualCode(String virtualCode) {
        this.virtualCode = virtualCode;
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getTargetKey() {
        return targetKey;
    }

    public void setTargetKey(String targetKey) {
        this.targetKey = targetKey;
    }
}
